<template>
	<view class="system">
		<view class="system-ul" v-for="(item,index) in system" @click="daka(item)">
			<view class="system-li">
				<text>{{item.text}}</text>
			</view>
			<view class="system-img">
				<image src="../../static/image/icon-jinru.png" mode=""></image>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default{
		data(){
			return{
				system:[
					{	
						id:1,
						text:"关于我们",
					},
					{
						id:2,
						text:"检查更新",
					},
					{
						id:3,
						text:"清除缓存",
					},
				]
			}
		},
		methods:{
				daka(val) {
					let url;
					switch (val.id) {
						case 1:
							url = '/pages/advisory/aboutus';
							break;
						case 2:
							url = '';
							break;
						case 3:
							url = '';
							break;
					}
					uni.navigateTo({
						url: url,
					});
				}
			
		},
	}
</script>

<style lang="less" scoped>
	.system{
		.system-ul{
			width: 650rpx;
			height: 100rpx;
			margin:  0 auto;
			padding: 10rpx 0;
			display: flex;
			justify-content: space-between;
			border-bottom: 1rpx solid #DCDCDC;
			.system-li{
				margin-left: 20rpx;
				display: flex;
				justify-content: center;
				flex-direction: column;
				text{
					font-size: 29rpx;
					font-family: Source Han Sans CN;
					font-weight: 500;
					color: #333333;
				}
			}
			.system-img{
				display: flex;
				justify-content: center;
				flex-direction: column;
				image{
					width: 15rpx;
					height: 24rpx;
				}
			}
		}
	}
</style>
